package io.renren.modules.maintenance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author iweb
 * @since 2020-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MDeviceDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId("id")
    private String devDetId;
    private String company;

    private Integer runTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nowDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date nextDate;

    private String engineerName;
    @TableField(exist = false)
private String deviceCateName;
    private Integer devCateId;


}
